import x_com_lib
from x_com import source_api
# RtTickData
def rt_tick_data(param: source_api.RTTickDatas):
  rt_tick_data_with_tag(param, "")

def rt_tick_data_with_tag(param: source_api.RTTickDatas, tag: str):
  publish_info = x_com_lib.PyPublishInfo()
  publish_info.topic = "RtTickData"
  publish_info.tag = tag
  x_com_lib.stream.publish_message(publish_info, param)

